package com.suzhenyu.sort;

import com.suzhenyu.util.OutPrintUtil;

/**
 * 顺序排序
 * @author suzy2
 */
public class SortTest {
    public static void main(String[] args) {
        // 冒泡排序
        Sort sort =new BubbleSort();
        // 选择排序
         sort =new SelectSort();
         // 快速排序
         sort =new QuickSort();
         sort =new InsertSort();
         int[] ints ={20,11,1,2,0,8,7,99,50};
        sort.sort(ints);
        OutPrintUtil.println(ints);
    }
}
